Fn Fun_GetFilePaths strTitle strFilter = (

    dialog = DotNetObject"System.Windows.Forms.OpenFileDialog"

    dialog.title = strTitle

    dialog.filter = strFilter

    dialog.Multiselect = true

    OpenFileResult = dialog.ShowDialog()

    if OpenFileResult.Equals OpenFileResult.OK then (

        dialog.FileNames
    )

    else Undefined
)

Fun_GetFilePaths "请选择.max文件" "OBJ (*.max)|*.MAX"